Hey Chief Heathen, What Do You Hate Today?

Active Directory. “Hey, how do you get a list of nondisabled users from a given group?”

dsquery * ou=associates,dc=manassas,dc=[companynameredacted],dc=com -filter (!userAccountControl:1.2.840.113556.1.4.803:=2) -attr name samaccountname > Associates.txt

Seriously?

Comments are closed.